﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _027_解释器模式
{
    /// <summary>
    /// 字符翻译
    /// </summary>
    class Note : Expression
    {
        public override void Execute(string content)
        {
            switch (content)
            {
                case "∫":
                    Console.Write("积分 ");
                    break;
                case "∬":
                    Console.Write("二重积分 ");
                    break;
                case "∭":
                    Console.Write("三重积分 ");
                    break;
                default:
                    break;
            }
        }
    }
}
